* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: dana;
}
#ghahve-body-v3 {
  font-family: Abar;
}
#food_desc {
  font-size: 0.825rem;
  font-family: iranSansX;
  font-weight: 400;
  color: #ccc;
  overflow: hidden;
  text-overflow: ellipsis;
}
#restaurant_title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

#event {
  font-family: dana;
  position: fixed;
  background-color: #dc9442;
  top: -80px;
  z-index: 100;
  width: 100%;
  transition: 1s;
  opacity: 0;
  padding: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  color: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
#ghahve-body-v3 #event {
  font-family: Abar;
}
#event p {
  text-align: center;
}
#event button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  background-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  background: #37302b;
  height: 100svh;
  width: 700px;
  max-height: 100svh;
}

.header {
  justify-content: space-between;
}

.social-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-media a,
.waiter-open-modal-btn {
  width: 40px;
  height: 40px;
  background-color: #ffffff66;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.waiter-open-modal-btn img {
  width: 30px;
  height: 30px;
}

.logo {
  width: 69px;
  height: 69px;
  overflow: hidden;
}
.logo img {
  width: 100%;
  object-fit: cover;
}

.header > h3 {
  position: absolute;
  bottom: 6vh;
  font-weight: 700;
  font-size: 40px;
  color: #fff;
}
.category-swiper {
  padding-right: 16px;
}
.category-swiper .swiper-slide {
  width: fit-content;
  padding: 8px 16px;
  background-color: #6c5746;
  border-radius: 40px;
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  margin-left: 25px;
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.active-category {
  background-color: #6c5746 !important;
  opacity: 1 !important;
}

#ghahve-categories-v2 > div {
  background-color: #a46d57;
  color: #eaeaea;
}
#ghahve-categories-v2 > div.swiper-slide div {
  background-color: transparent;
}
#ghahve-categories-v2 > div.swiper-slide div svg svg path {
  stroke: #eaeaea;
}
#ghahve-categories-v2 div.active-category {
  color: #232323 !important;
  background-color: #ffffff !important;
}

#ghahve-categories-v2 div.active-category div {
  background-color: #b6826d;
}
#ghahve-categories-v2 div.active-category div svg svg path {
  stroke: #232323;
}

#ghahve-categories-v3 > div {
  background-color: #52696e;
  color: #b4b4b4;
}
#ghahve-categories-v3 > div.swiper-slide div {
  background-color: transparent;
}
#ghahve-categories-v3 > div.swiper-slide div svg svg path {
  stroke: #b4b4b4;
}
#ghahve-categories-v3 div.active-category {
  color: #ffffff !important;
  background-color: #808080 !important;
}

#ghahve-categories-v3 div.active-category div {
  background-color: #ffffff;
}
#ghahve-categories-v3 div.active-category div svg svg path {
  stroke: #000000;
}
.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #413831;

  display: flex;
  align-items: center;
  justify-content: center;
}
.category-icon svg {
  width: 28px;
  height: 30px;
}
.category-icon svg rect {
  fill: transparent;
  stroke: transparent;
}
.category-icon svg path {
  stroke: #fff;
}

.sub-category-swiper .swiper-slide {
  opacity: 0.5;
  cursor: pointer;
  width: fit-content !important;
}
.sub-category-swiper {
  margin: 18px 0;
  font-weight: 600;
  color: #fff;
}
.active-subCategory {
  color: #fff !important;
  opacity: 1 !important;
}

.sub-category-swiper {
  padding-right: 16px;
}

#ghahve-sub-categories-v2 .active-subCategory {
  color: #232323 !important;
}
#ghahve-sub-categories-v2 > div {
  color: #eaeaea !important;
}

#ghahve-sub-categories-v3 .active-subCategory {
  color: #323232 !important;
}
#ghahve-sub-categories-v3 > div {
  color: #727272 !important;
}
.foodsSwiper .swiper-slide {
  transition: 0.6s all;
  width: 180px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  gap: 8px;
  opacity: 0.5;
  cursor: pointer;
}
.foods-image {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(50% 50% at 50% 50%, #3f362e 0%, #37302b 100%);
}

#ghahve-foods-v3 div.swiper-slide img{
  border-radius: 100%;
  width: auto !important;
}

#ghahve-foods-v2 > div.swiper-slide div.foods-image {
  background: transparent;
}

#ghahve-foods-v2 > div.swiper-slide h3,
#ghahve-foods-v2 > div.swiper-slide h2,
#ghahve-foods-v2 > div span,
#ghahve-foods-v2 > div span::after {
  color: #232323;
}

#ghahve-foods-v3 > div.swiper-slide div.foods-image {
  background: transparent;
}
#ghahve-foods-v3 > div.swiper-slide h3,
#ghahve-foods-v3 > div.swiper-slide h2,
#ghahve-foods-v3 > div span,
#ghahve-foods-v3 > div span::after {
  color: #323232;
}
.foods-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.foodsSwiper .swiper-slide h2 {
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
}
.foodsSwiper .swiper-slide h3 {
  color: #fff;
  font-weight: 400;
  font-size: 0.925rem;
}
.foodsSwiper .swiper-slide span.not-exist::after {
  content: "";
}
.foodsSwiper .swiper-slide span::after {
  content: "تومان";
  font-size: 0.925rem;
  color: #fff;
  margin-right: 5px;
}
.foodsSwiper .swiper-slide span {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
}
.foodsSwiper .swiper-slide-active {
  opacity: 1 !important;
}

@media screen and (max-width: 700px) {
  .container {
    height: 100vh;
    width: 100%;
  }
}
@media screen and (max-width: 534px) {
  .header > h3 {
    font-size: 26px;
  }
}

@media screen and (max-height: 674px) {
  .header {
    height: 40vh;
  }
  .header > h3 {
    bottom: 0;
  }

  .foods-image {
    height: 130px;
  }
}

@media screen and (max-height: 629px) {
  .header {
    height: 45vh;
  }
  .header > h3 {
    bottom: 0;
  }
  .category-swiper .swiper-slide {
    font-size: 0.825rem;
    padding: 5px 30px;
  }
  .category-icon {
    width: 30px;
    height: 30px;
  }
  .category-icon svg {
    width: 18px;
    height: 20px;
  }
  .sub-category-swiper {
    margin: 10px 0;
  }

  .foods-image {
    height: 100px;
  }
}

@media screen and (max-height: 551px) {
  .header {
    height: 250px;
  }
  .foodsSwiper .swiper-slide {
    gap: 8;
  }
  .foods-image {
    height: 80px;
  }
}
